package com.bookyourtrek.action;

import java.util.Map;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class LogoutAction extends ActionSupport{
	private static final long serialVersionUID = 1L;

	@SuppressWarnings("rawtypes")
	public String logout() {
		Map sess=ActionContext.getContext().getSession();
        sess.remove("login");
        sess.remove("useremail");
        sess.remove("userid");
        sess.remove("orderid");
        return SUCCESS;
	}
}
